package com.elves.cloud.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * 测试接口
 * Created by macro on 2020/6/19.
 */
@RestController
public class HelloController {

    @GetMapping("/admin")
    public String admin() {
        return "Hello admin api World.";
    }
    @GetMapping("/user")
    public String user() {
        return "Hello user api World.";
    }
    @GetMapping("/vip")
    public String vip() {
        return "Hello vip World.";
    }
    @GetMapping("/hello")
    public String hello() {
        return "Hello World.";
    }

}
